package com.fyl.verify.anno;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(METHOD)
@Retention(RUNTIME)
@Verify(auth = true)
public @interface AuthVerify {

    @AliasFor(annotation = Verify.class)
    boolean param() default false;

    @AliasFor(annotation = Verify.class)
    String value() default "";
}
